import mockjs from "mockjs";

const getProductList = mockjs.mock({
  'data|3': [{
    "title": "@ctitle(10)",
    "summary": "@cparagraph(1,3)",
    "content": "@cparagraph(1,5)",
    "flag": true,
    "recommend": 1,
    "price|30-500": 30
  }]
})

const getUserList = mockjs.mock({

})

export default {
  "GET /api/product": getProductList,
  "GET /api/user": getUserList,
}
